﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
  "http://www.w3.org/TR/html4/strict.dtd">
<html lang="pl">
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Strona dla wybranej przeglądarki</title>
    <!-- Skrypt pochodzi z książki
        "Dynamiczny HTML. 101 praktycznych skryptów"  -->
    <!-- autor: Marcin Lis       http://marcinlis.com -->
    <script type="text/javascript">
      redirect();
      function getBrowserType()
      {
        //kod funkcji
      }
      function redirect()
      {
        switch(getBrowserType()){
          case 'ch' : location.href="index_ch.html";break;
          case 'ie' : location.href="index_ie.html";break;
          case 'ff' : location.href="index_ff.html";break;
          case 'op' : location.href="index_op.html";break;
          case 'sa' : location.href="index_sa.html";break;
        }
      }
    </script>
  </head>
<body>
  <div>
    <a href="index_ch.html">Strona dla Chrome</a>
    <a href="index_ff.html">Strona dla Firefoksa</a>
    <a href="index_ie.html">Strona dla Internet Explorera</a>
    <a href="index_op.html">Strona dla Opery</a>
    <a href="index_sa.html">Strona dla Safari</a>
  </div>
</body>
</html>
